Reverse Pyramid Numbers in Python